package com.training.schedule_management_system_admin.utils;

public class UserUtils {

    public static String getKeyName(){
        return "user:";
    }

    //锁定限制登录key   user:loginTime:lock:用户名
    public static String getLoginTimeLockKey(String username){
        return "user:loginTime:Lock:"+username;
    }

    //登录失败次数key   user:loginCount:fail:用户名
    public static String getLoginFailCountKey(String username){
        return "user:loginCount:fail:"+username;
    }
}
